package com.atguigu.userprofile.service;

import com.atguigu.userprofile.bean.UserGroup;
import com.atguigu.userprofile.controller.UserGroupController;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.catalina.User;
import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

public interface UserGroupService  extends IService<UserGroup> {

    public  void saveUserGroupInfo(UserGroup userGroup,boolean isRefresh);


    public  void  genUserGroup(UserGroup userGroup);

    public Integer saveUserGroupToRedis(UserGroup userGroup);

    //估算人数
    public Integer evaluateUserGroupNum(UserGroup userGroup);
 
   //从mysql中查询分群定义
     public UserGroup getUserGroupInfoById(String userGroupId);


}
